<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<title>ThinkPHP5 Blog开发实战</title>
	<meta charset="UTF-8">
	<meta name="keywords" content="ThinkPHP5 Blog开发实战" />
	<meta name="description" content="ThinkPHP5 Blog开发实战" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<link href="__PUBLICINDEX__/style/lady.css" type="text/css" rel="stylesheet" />
	<script type='text/javascript' src='__PUBLICINDEX__/style/ismobile.js'></script>
</head>
<body>
	{include file="index/header"/}
	<!--顶部通栏-->
	<div class="position">
		<a href='/'>主页</a>><a href='#'>{$cares.catename}</a>>
	</div>
	<div class="overall">
		<div class="left">
			{volist name="articleres" id="vo"}
			<div class="xnews2">
				<div class="pic">
					<a target="_blank" href="{:url('article/index',array('aid'=>$vo.id))}">
						{if condition="$vo['pic'] neq ''"}
						<img src="__UPLOAD__/{$vo.pic}" alt="{$vo.title}"/>
						{else /}
						<img src="__PUBLICINDEX__/images/error.png" alt="{$vo.title}"/>
						{/if}
					</a>
				</div>
				<div class="dec">
					<h3>
						<a target="_blank" href="{:url('article/index',array('aid'=>$vo.id))}">{$vo.title}</a>
					</h3>
					<div class="time">发布时间：{$vo.time|date="Y-m-d H:i:s",###}</div>
					<p>{$vo.desc}</p>
					<div class="time">
						<?php
								if(!empty($vo['keywords'])){
										$arr = explode(',',$vo['keywords']);
										foreach($arr as $val){
												echo '<a target="_blank" href=\'#\'>'.$val.'</a>';
										}
								}
						?>
					</div>
				</div>
			</div>
			{/volist}
			<div class="pages">
				<div class="plist" >
					<ul>
						{$articleres->render()}
					</ul>
				</div>
			</div>
		</div>
		{include file="index/right"/}
	</div>
	<!-- 通用底部 -->
	{include file="index/footer"/}
</body>
</html>
